﻿using System.ServiceProcess;
using System.Threading;

namespace Biz
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        static void Main()
        {
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[]
            {
                new BizProcessor()
            };
            ServiceBase.Run(ServicesToRun);
            ////test
            //new BizProcessor().Main();
            //Thread.Sleep(1000 * 60 * 60);
        }
    }
}
